package com.learning.dubbo.service.group.api;

import org.apache.dubbo.rpc.cluster.Merger;

/**
 * ClassName: StringMerger
 * Description:
 * Date: 2020/7/20 14:22 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public class StringMerger implements Merger<String> {

    @Override
    public String merge(String... items) {
        String result = "";
        for (String item : items) {
            result = result + item;
        }
        return result;
    }
}
